x86/paging: remove pointless current domain checks
authorJan Beulich <jbeulich@suse.com>
Fri, 5 Jun 2015 10:09:18 +0000 (12:09 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 5 Jun 2015 10:09:18 +0000 (12:09 +0200)
commitf17f08672f21fa65c25250c19f76c021f7aa0523
treeeb9fd3523e24de5de915c1320a579f0b9a7b3e33
parentb248d32f4fce6f5ea1d59228cc435b80c3b50351
x86/paging: remove pointless current domain checks

Checking that the subject domain is not the current one is pointless
when already having paused that domain: domain_pause() already
ASSERT()s this to be the case.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/hap/hap.c
xen/arch/x86/mm/shadow/common.c